package com.xgzit.xgzmall.member.feign;

import com.xgzit.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;

/**
 * @Author xgz
 * @Date 2021-07-10 15:12
 */
@FeignClient("xgzmall-order")
public interface OrderFeignService {


    /**
     * 远程调用 查询当前用户订单项信息
     * @param params:
     * @return com.xgzit.common.utils.R
     **/
    @PostMapping("order/order/listWithItem")
    R listWithItem(@RequestBody Map<String, Object> params);
}
